home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
ptv1n1.arc
/
TABEXP.HPP
< prev
next >
Wrap
Text File
|
1990-06-08
|
491b
|
16 lines
/* Listing 3. Header file for tabexp class */
#include <stdio.h>
class tabexp {
private:
FILE *f; /* input file stream */
int col; /* current column of current line */
int tabsize; /* given tab size */
int tabcnt; /* amount of spaces left to tab */
public:
void init(FILE *fp, int ts); /* initializer */
int get(void); /* get next char */
tabexp(FILE *fp, int ts); /* constructor */
};